﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZSZ.DTO;
using ZSZ.Model;

namespace ZSZ.IService
{
    public partial interface IRegionService : IBaseService<Region>
    {
        List<RegionDTO> GetPagedData(RegionSearchOptions options, out long total, int pageIndex, int pageSize);

        RegionDTO[] GetByCityId(long cityId);

        RegionDTO GetDTOById(long id);

        void Add(string name,long cityId);

        void Update(Region entity,string name, long cityId);


    }
}
